package com.neusoft.yuejian_6.service;

import com.neusoft.yuejian_6.javabean.Master;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Q on 2017/10/17.
 */

public interface MasterService {
    @GET("Master/getMasters")
    Call<List<Master>> getAllMasters();

    @GET("Master/Masterdetail")
    Call< Master> getMasterById(
            @Query("master_id") int master_id

    );
}

